package com.kf.common.mvi.state

import kotlinx.coroutines.flow.StateFlow

/**
 * 状态容器接口:传输的数据状态
 *            请求过程中展示dialog等view的状态
 * */
interface Container<STATE : UiState> {
    //请求过程中状态
    val requestStateFlow : StateFlow<RequestState>
    //请求完成数据状态
    val uiStateFlow : StateFlow<STATE>
}